package cn.anycase.demo.service;

import cn.anycase.demo.base.Response;
import cn.anycase.demo.entity.ThisIsSample;
import cn.anycase.demo.vo.SampleQueryInputVO;
import cn.anycase.demo.vo.SampleUpdateInputVO;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * </p>
 *
 * @author yuxiaobin
 * @date 2022/8/31
 */
public interface ThisIsSampleService {

    void sampleCrud();

    /**
     * <p> 添加Sample记录 </p>
     * @Param   ThisIsSample
     * @Return  cn.anycase.demo.base.Response
     * @Date    2022/9/21 18:58
     */
    Response createRecord(ThisIsSample sample);

    /**
     * <p> 查询Sample列表 </p>
     * @Param   null
     * @Return  Page<ThisIsSample>
     * @Date    2022/9/21 19:28
     */
    Page<ThisIsSample> pageList(Page<ThisIsSample> page, SampleQueryInputVO sampleQueryInputVO);
    
    /**
     * <p> 修改记录 </p>
     * @Param   null
     * @Return  Response
     * @Date    2022/9/21 22:48 
     */
    Response updateRecord(SampleUpdateInputVO updateVO);
}
